package com.hps.shoping.order.mapper;

import com.hps.shoping.order.entitys.Order;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface OrderMapper extends Mapper<Order> {

    int updateStatus(@Param("orderId") String orderId, @Param("status") Byte status);

    List<Order> selectUnfinishOrders(String nowStr);
}